<?php

namespace app\model;

use think\Model;
use think\model\relation\HasMany;

class Dictionary extends Model
{
    public function datasource(): HasMany
    {
        return $this->hasMany('DictionaryData', 'dictionary_id', 'id');
    }
}